<?php 
		$data['__rule']="";
		foreach($data['rules'] as $vo){
$data['__rule'].=<<<topstr

 array("{$vo['field']}","{$vo[rule]}","{$vo[condition]}"),
 
topstr;
	    }
		
		